package com.atguigu.self.common.pojo;

/**
 * 系统状态码
 *
 * @Author Li Xinyang  <lixinyang@xxx.com>  2021/1/29 22:41
 **/
public enum BizCodeEnume {
    UNKNOWN_EXCEPTION(10000, "系统未知异常"),
    VALID_EXCEPTION(10001, "参数格式校验异常");
    private Integer code;
    private String msg;

    BizCodeEnume(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
